package com.seari.tunnel.mapper;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.seari.tunnel.entity.CorridorIn;
import com.seari.tunnel.entity.CorridorInParam;
import com.seari.tunnel.entity.PipelineArchives;

@Repository
public interface CorridorInMapper {
	List<CorridorIn> getAccepts();
	
	List<CorridorInParam> findfinishAccepts();
	
	List<CorridorIn> getCompSelect();
	
	List<CorridorIn> getAgreements();
	
	void addAccept(CorridorIn corridorIn);
	
	void updateAccept(CorridorIn corridorIn);
	
	void modifyAccept(CorridorInParam corridorInParam);
	
	void deleteById(int id);
	
	void updatePipeline(CorridorIn corridorIn);
	
	void updateSigned(CorridorIn corridorIn);
	
	void updateExamine(CorridorIn corridorIn);
	
	void updateAgreement(CorridorIn corridorIn);
	
	void updateAgreementFile(CorridorIn corridorIn);
	
	List<CorridorIn> getExaminedComp();
	
	List<CorridorIn> getProcedures();
	
	List<CorridorInParam> getAgreementParams();
	
	List<CorridorInParam> getProcedureParams();
	
	String getAcceptApplicationById(int id);
	
	void updateProcedureFile(CorridorIn corridorIn);
	
	List<PipelineArchives> findPipelineArchives(String comp);
	
	CorridorIn findCorridorInById(int id);
	
	void updateOwnership(int id);
	
	void updateregulator(int id);
	
	void updateconstructionSector(int id);
	
	void updateprojectManager(int id);

	void updatefileField1(CorridorIn corridorIn);

	void updatefileField2(CorridorIn corridorIn);

	void updatefileField3(CorridorIn corridorIn);
}
